package com.clwl.supervise.superviseapp.entity.supervise;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
    * 体系检查计划
    */
@Data
@TableName(value = "JG_SCHEME_PLAN")
//@KeySequence(value = "JG_SCHEME_PLAN_SQE")
public class JgSchemePlan implements Serializable {
    @TableId(value = "ID", type = IdType.AUTO)
    private Long id;

    /**
     * 计划名称
     */
    @TableField(value = "PLAN_NAME")
    private String planName;

    /**
     * 计划来源/计划类型1-上级指派;2-证后检查;3-投诉举报;4-其他
     */
    @TableField(value = "PLAN_SOURCE")
    private Integer planSource;

    /**
     * 计划开始时间
     */
    @TableField(value = "START_TIME")
    private Date startTime;

    /**
     * 计划结束时间
     */
    @TableField(value = "END_TIME")
    private Date endTime;

    /**
     * 检查模板id  jg_template表
     */
    @TableField(value = "TEMPLATE_ID")
    private Long templateId;

    /**
     * 创建时间
     */
    @TableField(value = "CREATE_TIME")
    private Date createTime;

    /**
     * 创建人
     */
    @TableField(value = "CREATOR")
    private Long creator;

    /**
     * 创建人姓名
     */
    @TableField(value = "CREATOR_NAME")
    private String creatorName;

    @TableField(value = "DELETE_FLAG")
    private Integer deleteFlag;

    /**
     * 检查企业数量
     */
    @TableField(value = "COMPANY_COUNT")
    private Integer companyCount;

    /**
     * 检查人数
     */
    @TableField(value = "USER_COUNT")
    private Integer userCount;

    /**
     * 检查对象产品类别 多个逗号隔开
     */
    @TableField(value = "CHECK_COM_TYPE")
    private String checkComType;

    /**
     * 检查区域 多个逗号隔开
     */
    @TableField(value = "CHECK_QU_DEPT")
    private String checkQuDept;

    /**
     * 选择的承担检查单位数量
     */
    @TableField(value = "CHECK_DEPT_COUNT")
    private Long checkDeptCount;

    private static final long serialVersionUID = 1L;
}
